package com.ruoyi.leads.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线索管理对象 leads
 * 
 * @author suoge
 * @date 2025-10-20
 */
@TableName("leads")
public class Leads extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 线索ID */
    @TableId(type = IdType.INPUT)
    private Long leadId;

    /** 线索名称 */
    @Excel(name = "线索名称")
    @TableField("lead_name")
    private String leadName;

    /** 联系人 */
    @Excel(name = "联系人")
    @TableField("contact_person")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @TableField("contact_phone")
    private String contactPhone;

    /** 所属公司 */
    @Excel(name = "所属公司")
    @TableField("company")
    private String company;

    /** 线索来源：官网、展会、转介绍等 */
    @Excel(name = "线索来源：官网、展会、转介绍等")
    @TableField("source")
    private String source;

    /** 线索状态：未跟进、跟进中、已转化、已失效 */
    @Excel(name = "线索状态：未跟进、跟进中、已转化、已失效")
    @TableField("status")
    private String status;

    public void setLeadId(Long leadId) 
    {
        this.leadId = leadId;
    }

    public Long getLeadId() 
    {
        return leadId;
    }

    public void setLeadName(String leadName) 
    {
        this.leadName = leadName;
    }

    public String getLeadName() 
    {
        return leadName;
    }

    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }

    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("leadId", getLeadId())
            .append("leadName", getLeadName())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("company", getCompany())
            .append("source", getSource())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
